home *** CD-ROM | disk | FTP | other *** search
- Path: hearst.acc.Virginia.EDU!adastra!mbs
- Newsgroups: comp.sys.amiga.networking
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Subject: Re: Multiple ISP setup
- References: <792.6596T1216T773@internet-eireann.ie> <4ebedu$p35@thunder.mgl.ca> <mbs.47qy@adastra.cvl.va.us> <4ej1nd$6k2@thunder.mgl.ca>
- X-NewsReader: GRn 3.0 January 12, 1996
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Message-ID: <mbs.47uo@adastra.cvl.va.us>
- Date: Tue, 30 Jan 96 18:24:33 EDT
- Organization: Only if you insist...
-
- In article <4ej1nd$6k2@thunder.mgl.ca> snapper@mgl.ca (Allan Purtle) writes:
- > Michael B. Smith (mbs@adastra.cvl.va.us) wrote:
- > : The default BSD code supports three nameservers. A request is sent to the
- > : first one, if it times out, the request is repeated to the second one. Etc.
- >
- > You might want to check into that a little closer :-)
-
- OK, I've checked it, and I'm still right. What's your point?
-
- It is possible to get a response to the first query while
- waiting on the second or third. What I said still holds
- true.
-
- You check the code in res_send.c, starting right below where
- it says "Send request, RETRY times, or until successful", and
- note the two "for()" loops:
-
- for (try = 0; try < _res.retry; try++) {
- for (ns = 0; ns < _res.nscount; ns++) {
-
-
- > : For purely speed reasons, having multiple resolv.conf files is the best
- > : idea (assuming that on one connection the primary nameserver is "close"
- > : and the other isn't, and vice versa).
- >
- > And what would you advise if they want to connect to more than one ISP
- > concurrently, God forbid....
-
- Have a resolv.conf that has them both, for heaven's sake.
-
- Dropping a new resolv.conf in is very minor. It doesn't require
- a network reload.
-
- I do it all the time.
-
- > As for the speed issue, if you have a 19,200bps connection to an ISP with
- > reasonable performance hardware, you won't be able to tell the difference as the
- > DNS packet will make it round trip in about the same time as it takes to encode it
- > to PPP and back again. If your using Web browser, where DNS is reasonable heavy
- > useage, again you aren't going to notice because of everything else thats going on
- > concurrently, assuming you have an intelligent browser.
-
- If you primary nameserver is local to your ISP, I agree.
-
- But why waste the time waiting for a response that may not
- come (if your secondary only supplies services to the "other"
- ISP -- which is fairly common).
-
- Or vice versa - if you are connected the other way for once.
-
- > So does anyone have a good reason to connect to more than one ISP at a time ?
-
- Sure. It's fairly common.
-
- > Does anyone have more than 3 ISP accounts ?
-
- Possible. Unlikely in the normal case.
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us
-